package com.nativetalk.service.four.comment;

import com.nativetalk.base.Page;
import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.comment.TdNtCommentInsert;

/**
 * Created by lizhun on 2016/10/31.
 * Modified by wangzheng on 2017/03/15
 */
public interface FourCommentService {
    /**
     * @Purpose  回复评论
     * @version  4.0
     * @author   lizhun
     * @return   RetInfo
     */
    public RetInfo replay(TdNtCommentInsert tdNtCommentInsert);
    /**
     * @Purpose  查找课程下评论
     * @version  4.0
     * @author   lizhun
     * @return   RetInfo
     */
    public RetInfo findCommentByCourse(Page page);
    /**
     * @Purpose  查找教师下评论
     * @version  4.0
     * @author   lizhun
     * @return   RetInfo
     */
    public RetInfo findCommentByTeacher(Page page);

    /**
     * @Purpose  更新评论录音播放次数
     * @version  4.1
     * @author   wangzheng
     * @return   RetInfo
     */
    public RetInfo updateRecordingPlaySize(int stt_id);
}
